package com.chat.api.web.po;

import lombok.Data;
import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Proxy(lazy = false)
@Table(name = "friend")
@Data
public class FriendBean {
    @Id
    private Long id;

    @Column(name = "friendaccount")
    private String friendaccount;

    @Column(name = "username")
    private String username;

    @Column(name = "groupid")
    private Long groupid;

    @Column(name = "annotation")
    private String annotation;
}
